package org.linlinjava.litemall.db.jsonfield;

import java.math.BigDecimal;
import java.util.List;

public class AgedmallLeaseRuleConfRuleInfo {
    /**
     * 每月按30天算
     */
    public static final int month = 30;
    /**
     * 每年按365天算
     */
    public static final int year = 365;

    /**
     *  租赁一天价格
     */
    private BigDecimal day;

    /**
     * 至少租赁几天
     */
    private Integer minDays;

    /**
     * 每月最多价格
     */
    private BigDecimal monthMax;

    /**
     * 每年最多价格
     */
    private BigDecimal yearMax;

    /**
     * 最多不超过总价格
     */
    private BigDecimal maxFee;

    /**
     * 租金阶梯收费规则列表数据（图表显示数据）
     */
    private List<LeaseChargeRuleItemInfo> chargeRuleList;

    public BigDecimal getDay() {
        return day;
    }

    public void setDay(BigDecimal day) {
        this.day = day;
    }

    public Integer getMinDays() {
        return minDays;
    }

    public void setMinDays(Integer minDays) {
        this.minDays = minDays;
    }

    public BigDecimal getMonthMax() {
        return monthMax;
    }

    public void setMonthMax(BigDecimal monthMax) {
        this.monthMax = monthMax;
    }

    public BigDecimal getYearMax() {
        return yearMax;
    }

    public void setYearMax(BigDecimal yearMax) {
        this.yearMax = yearMax;
    }

    public BigDecimal getMaxFee() {
        return maxFee;
    }

    public void setMaxFee(BigDecimal maxFee) {
        this.maxFee = maxFee;
    }

    public List<LeaseChargeRuleItemInfo> getChargeRuleList() {
        return chargeRuleList;
    }

    public void setChargeRuleList(List<LeaseChargeRuleItemInfo> chargeRuleList) {
        this.chargeRuleList = chargeRuleList;
    }
}
